/*
 * @Description:
 * @Author: mxy
 * @Date: 2022-12-10 09:37:59
 * @LastEditors: mxy
 * @LastEditTime: 2022-12-10 20:16:06
 */
// 1. 导入所需的包
import Vue from 'vue'
import Vuex from 'vuex'
import user from './user'

// 2. 将Vuex注册为Vue的插件
Vue.use(Vuex)

// 3. 创建 store 实例对象
const store = new Vuex.Store({
  modules: { user }
})

// 4. 导出 store 对象
export default store
